<template>
  <div>
    <div class="flex justify-between items-center pr-4 py-2 bg-white">
      <LayoutBreadcrumb class="grow" />
      <span>
        <a-input v-model:value="keyword" style="width: 220px" placeholder="请输入检测关键字" />
        <a-button type="primary">查询</a-button>
      </span>
    </div>
    <div class="space-x-4 p-4 bg-white mt-2">
      <a-button type="primary">
        <template #icon>
          <FileOutlined />
        </template>
        模板设置
      </a-button>
      <a-button type="primary">
        <template #icon>
          <FileTextOutlined />
        </template>
        手动报表
      </a-button>
    </div>
    <!-- <a-table bordered class="bg-white px-4" :dataSource="dataSource" :columns="columns">
      <template #bodyCell="{ column, record }">
        <template v-if="column.key === 'action'">
          <span class="">
            <a>导出</a>
            <a class="ml-4">详细</a>
          </span>
        </template>
      </template>
    </a-table> -->
    <this-table />
  </div>
</template>
<script lang="ts">
import { defineComponent } from 'vue';
import { LayoutBreadcrumb } from '../../../layouts/default/header/components';
import { ref } from 'vue';
import { FileOutlined } from '@ant-design/icons-vue';
import { FileTextOutlined } from '@ant-design/icons-vue';
import thisTable from './table.vue';

export default defineComponent({
  components: { LayoutBreadcrumb, FileOutlined, FileTextOutlined, thisTable },
  setup() {
    const keyword = ref('');

    return {
      keyword,
    };
  },
});
</script>
